import { createRouter, createWebHashHistory } from "vue-router";
import GoodsView from "../views/GoodsView.vue";
import PickView from "../views/PickView.vue";
import InfoView from "../views/InfoView.vue";

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/",
      name: "pick",
      component: PickView,
    },
    {
      path: "/goods",
      name: "goods",
      component: GoodsView,
    },
    {
      path: "/info",
      name: "info",
      component: InfoView,
    },
  ],
});

export default router;
